{% extends '::base-login.html.twig' %}

{% block body -%}
<div class="isolate">
    <div class="center narrow">
        <img src="{{ asset('bundles/front/images/object619216676.png') }}" alt="Doritos" />
        <div class="main_container full_size container_16 clearfix">
            <div class="box">
                <div class="block">
                    <div class="section">
                    </div>

                    {% block article %}
                    {% if error %}
                        <div style="padding: 10px 20px; color: red; font-weight: bold;">{{ error.message }}</div>
                    {% endif %}
                    <form action="{{ path('usuarios_login_check') }}" class="validate_form" method="post">
                        <fieldset class="label_side top">
                            <label for="username_field">Username<span></span></label>
                            <div>
                                <input type="text" id="username_field" name="_username" class="required" value="{{ last_username }}">
                            </div>
                        </fieldset>
                        <fieldset class="label_side">
                            <label for="password_field">Password<span></span></label>
                            <div>
                                <input type="password" id="password_field" name="_password" class="required">
                            </div>
                        </fieldset>
                        <!--<fieldset class="label_side">
                            <label for="remember_me">Stay signed in</label>
                            <div>
                                <input type="checkbox" id="remember_me" name="_remember_me" checked />
                            </div>
                        </fieldset>-->
                        <fieldset class="no_label bottom">
                            <div style="">
                                <div class="slider_unlock" title="Deslizar para loguear"></div>
                                <button type="submit" style="display:none"></button>
                            </div>
                        </fieldset>
                    </form>
                {% endblock %}
                </div>
            </div>
        </div>
        <!--<button data-dialog="dialog_register" class="dialog_button send_right" style="margin-top:10px;">
            <img src="images/icons/small/white/user.png">
            <span>Not Registered ?</span>
        </button>-->
    </div>
</div>

    {% block aside %}
    {% endblock %}
{% endblock %}